﻿using EMS.system.Entityies.WarehouseManagement.WarehouseSettingsModel;
using EMS.system.IEntityAppService.WarehouseManagement.WarehouseSetup.WarehouseSetupDTO;
using System.Linq.Dynamic.Core;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace EMS.system.IEntityAppService.WarehouseManagement.WarehouseSetup
{
    public interface IWarehouseSetupAppService
    {

    Task<int> AddWarehouseSetup(WarehouseSetupInsertDTO dto);

    PagedResult GetWarehouseSetup(string? code, string? name, int page = 1, int limit = 2);

    int DeleteWarehouseSetup(int id);

    Task<WarehouseSettings> GetWarehouseSetupById(int id);
    Task<int> UpdateWarehouseSetup(WarehouseSetupUpdateDTO dto);
    }
}
